package com.deep.stream.provider.controller;

import com.deep.stream.provider.service.MessageProvider;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author deeprado
 */
@RestController
public class SendController {

    @Resource
    MessageProvider messageProvider;

    @RequestMapping("/send")
    public String send() {
        return messageProvider.send();
    }
}
